package com.itlong.cloud.noncore.operate;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * <desc>
 *      运营-开发者日志及操作日志接口暴露
 * </desc>
 *
 * @createDate 2020/11/9
 **/
@FeignClient(name = "non-core-service")
public interface IOperateTimeTaskDeveloperLogClient {

    /**
     * <desc>
     *      删除3月前开发者访问日志
     * </desc>
     *
     * @param
     * @return 受影响行数
     * @Author Zhu.yj
     * @createDate  2020/11/9
     */
    @PostMapping("/operate/timeTask/deleteDeveloperLog")
    void deleteDeveloperLog() throws Exception;

    /**
     * <desc>
     *      删除3月前登录日志
     * </desc>
     *
     * @param
     * @return 受影响行数
     * @Author Zhu.yj
     * @createDate  2020/11/9
     */
    @PostMapping("/operate/timeTask/deleteLoginLog")
    void deleteLoginLog() throws Exception;
}
